﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="member_add.aspx.cs" Inherits="HY.WEB.HR.mem_add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
</head>
<body>
    <form id="form1" runat="server" >
    <div>

    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:HiddenField ID="hidstype" runat="server"></ext:HiddenField>
    <ext:Label ID="labResult" CssClass="result" EncodeText="false" runat="server">
    </ext:Label>

      <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" EnableBackgroundColor="true"
        ShowBorder="True" Title="表单" Width="718px" ShowHeader="True">
        <Items>
          <ext:TextBox runat="server" Width="200px" Label="姓名" ID="txtnm" Required="true" ShowRedStar="true">
            </ext:TextBox>
            <ext:DropDownList ID="ddlsex" runat="server" Label="性别" Width="250px">
            <ext:ListItem  Text="男" Value="男" />
               <ext:ListItem  Text="女" Value="女" />
            </ext:DropDownList>
              <ext:DatePicker ID="birthday" runat="server" Label="出生日期" Width="250px">
            </ext:DatePicker>
               <ext:DropDownList ID="ddlmarry" runat="server" Label="婚否" Width="250px">
            <ext:ListItem  Text="已婚" Value="已婚" />
               <ext:ListItem  Text="未婚" Value="未婚" />
                 <ext:ListItem  Text="离异" Value="离异" />
            </ext:DropDownList>
                   <ext:TextBox runat="server" Width="200px" Label="毕业学校" ID="txtschool" >
            </ext:TextBox>

                  <ext:DropDownList ID="ddledu" runat="server" Label="学历" Width="250px">
                       </ext:DropDownList>
                     
              <ext:TextBox runat="server" Width="200px" Label="专业" ID="major" >
            </ext:TextBox>

                 <ext:DropDownList ID="ddldetp" runat="server" Label="部门" Width="250px">
                      </ext:DropDownList>

               <ext:DropDownList ID="ddlrole" runat="server" Label="角色" Width="250px">
                       </ext:DropDownList>
                   <ext:DropDownList ID="ddljob" runat="server" Label="职位" Width="250px">
                       </ext:DropDownList>

                  
                         <ext:TextBox runat="server" Width="200px" Label="籍贯" ID="txtjg" >
            </ext:TextBox>

               <ext:TextBox runat="server" Width="200px" Label="户籍住址" ID="txtaddress" >
            </ext:TextBox>

            
               <ext:TextBox runat="server" Width="200px" Label="目前住址" ID="txtnewadd" >
            </ext:TextBox>

                  <ext:TextBox runat="server" Width="200px" Label="身份证号码" ID="txtcode" >
            </ext:TextBox>

              <ext:TextBox runat="server" Width="200px" Label="联系电话" ID="txttel" Required="true" ShowRedStar="true" >
            </ext:TextBox>

              <ext:TextBox runat="server" Width="200px" Label="紧急联系人" ID="txtjustperson" >
            </ext:TextBox>

              <ext:TextBox runat="server" Width="200px" Label="紧急联系人电话" ID="txtjusttel" >
            </ext:TextBox>

            <ext:TextBox runat="server" Width="200px" Label="QQ" ID="txtqq" >
            </ext:TextBox>
            
            <ext:TextBox runat="server" Width="200px" Label="E-mail" ID="txtemail" >
            </ext:TextBox>


            <ext:DatePicker ID="indate" runat="server" Label="入职日期" Width="250px">
            </ext:DatePicker>
                <ext:DatePicker ID="outdate" runat="server" Label="离职日期" Width="250px">
            </ext:DatePicker>

            <ext:TextBox runat="server" Width="200px" Label="登陆账号" ID="txtlgid" Required="true" ShowRedStar="true">
            </ext:TextBox>
              <ext:TextBox runat="server" Width="200px" Label="登陆密码" ID="txtlgpw" Required="true" ShowRedStar="true">
            </ext:TextBox>
           
            <ext:DropDownList ID="ddlstatus" runat="server" Label="是否开通系统" Width="250px">
            <ext:ListItem  Text="开通" Value="0" Selected />
               <ext:ListItem  Text="关闭" Value="1" />
            </ext:DropDownList>

             <ext:DropDownList ID="ddlinout" runat="server" Label="是否在职" Width="250px">
            <ext:ListItem  Text="在职" Value="0" Selected />
               <ext:ListItem  Text="离职" Value="1" />
            </ext:DropDownList>

            <ext:FileUpload runat="server" Width="200px" ID="fileup" EmptyText="请选择相片" Label="相片" >
            </ext:FileUpload>
           
                <ext:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1"
                Text="提交">
            </ext:Button>
        </Items>
    </ext:SimpleForm>
  
    </div>
    </form>
</body>
</html>
